<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:mo="https://gitee.com/aun/Timo">
<body>
    <style>
        .p_name{
            font-size: 18px;
            font-weight: 600;
        }
        .p_name_l{
            font-size: 15px;
            font-weight: 600;
        }
        .p_sex_age{
            font-size: 14px;
            color: rgba(167,172,177,1);
        }
    </style>


        <div class="layui-card-body padding-15">
            <div class="layui-panel padding-15" style="display: flex;justify-content: space-between">
                <div style="display: flex">
                    <div style="margin-right: 10px;">
                        <img style="width: 58px;height: 58px;border-radius: 50%;" th:src="${vo?.headimg}">
                    </div>
                    <div style="padding: 5px">
                        <p>
                            <span class="p_name" th:text="${vo?.name}"></span>
                            <span class="p_sex_age" th:if="${vo.sex == 1}">男 [[${vo?.age}]]岁</span>
                            <span class="p_sex_age" th:if="${vo.sex == 2}">女 [[${vo?.age}]]岁</span>
                        </p>
                        <p>护理科室：<span class="layui-badge layui-bg-green">内科</span><span class="layui-badge layui-bg-green">急诊科</span></p>
                    </div>
                </div>
                <div style="display: flex;align-items: center;width: 150px">
                    <p>合同到期时间：<span style="color: red">[[${vo?.contractEndStr}]]</span> </p>
                </div>
            </div>
            <div class="layui-panel padding-15" style="display: flex;justify-content: space-between;margin-top: 15px" th:each="item : ${log} "  >
                <div>
                    <p class="p_name_l">合同到期时间：<span style="color: red">[[${item?.contractEndStr}]]</span> </p>
                </div>
                <div style="display: flex;align-items: center;width: 80px">
                    <p class="p_name_l">续聘[[${item?.years}]] 年</p>
                </div>
            </div>

        </div>


</body>
</html>